﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin.master" AutoEventWireup="true" CodeFile="updateTypeCard.aspx.cs" Inherits="updateTypeCard" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <link href="Css/updateTypeCard.css" rel="stylesheet" />
    <style type="text/css">
        .auto-style1 {
            width: 383px;
        }

        .auto-style2 {
        width: 42px;
    }

        .auto-style3 {
            width: 42px;
            height: 21px;
        }

        .auto-style4 {
            width: 383px;
            height: 21px;
        }

        .auto-style5 {
            height: 21px;
        }
        .auto-style7 {
            width: 141px;
        }
        .auto-style8 {
            width: 141px;
            height: 21px;
        }
        .auto-style9 {
            width: 42px;
            height: 28px;
        }
        .auto-style10 {
            width: 141px;
            height: 28px;
        }
        .auto-style11 {
            width: 383px;
            height: 28px;
        }
        .auto-style12 {
            height: 28px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="content_title">Update TypeEcard</div>
    <div id="content_detail">
        <table style="width: 100%;">
            <tr>
                <td class="auto-style3">&nbsp;</td>
                <td class="auto-style8"></td>
                <td class="auto-style4">
                    <asp:Label ID="lblInfo" runat="server" ForeColor="Red"></asp:Label>
                </td>
                <td class="auto-style5"></td>
            </tr>
            <tr>
                <td class="auto-style9"></td>
                <td class="auto-style10">Name Ecard Type :</td>
                <td class="auto-style11">
                    <asp:TextBox ID="txtNameEcardType" runat="server" Width="200px" Height="20px"></asp:TextBox>
                    <asp:Button ID="btnAdd" runat="server" BackColor="#FF6600" ForeColor="White" Text="Add" Width="64px" OnClick="btnAdd_Click" />
                </td>
                <td class="auto-style12">
                </td>
            </tr>
            <tr>
                <td class="auto-style2">&nbsp;</td>
                <td class="auto-style7">&nbsp;</td>
                <td class="auto-style1">&nbsp;</td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td class="auto-style2">&nbsp;</td>
                <td class="auto-style7">&nbsp;</td>
                <td class="auto-style1">
                    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Width="321px" AllowPaging="True" AllowSorting="True" BackColor="White" BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3" DataKeyNames="TypeEcardId" OnRowCancelingEdit="GridView1_RowCancelingEdit" OnRowCommand="GridView1_RowCommand" OnRowDeleting="GridView1_RowDeleting" OnRowEditing="GridView1_RowEditing" OnRowUpdating="GridView1_RowUpdating" OnPageIndexChanging="GridView1_PageIndexChanging">
                        <Columns>
                            <asp:BoundField DataField="TypeEcardId" HeaderText="Type Ecard ID" ReadOnly="True" />
                            <asp:BoundField DataField="TypeCardName" HeaderText="Type Card Name" />
                            <asp:CommandField ShowDeleteButton="True" ShowEditButton="True" />
                        </Columns>
                        <FooterStyle BackColor="White" ForeColor="#000066" />
                        <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="White" ForeColor="#FF6600" HorizontalAlign="Left" />
                        <RowStyle ForeColor="#000066" />
                        <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
                        <SortedAscendingCellStyle BackColor="#F1F1F1" />
                        <SortedAscendingHeaderStyle BackColor="#007DBB" />
                        <SortedDescendingCellStyle BackColor="#CAC9C9" />
                        <SortedDescendingHeaderStyle BackColor="#00547E" />
                    </asp:GridView>
                </td>
                <td>&nbsp;</td>
            </tr>
            </table>
        <br />
    </div>
</asp:Content>

